package com.tycmc.system;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AppContext {
    private static ApplicationContext applicationContext;

    static {
        applicationContext = new ClassPathXmlApplicationContext(
                "applicationContext.xml");
    }

    public static ApplicationContext getSpringContext() {
        return applicationContext;
    }
}
